
<table class="chart">

<!-- 未支付 -->
<eq name="type" value="0">  
	<tr>
	<th width="44%">商品</th>
	<th width="10%">成交价</th>
	<th width="10%">运费</th>
	<th width="20%">过期时间</th>
	<th width="16%" class="tc">操作</th>
	</tr>
<else />  <!-- 已支付 -->
	<tr>
	<th width="44%">商品</th>
	<th width="20%">物流单号</th>
	<th width="10%">订单总额</th>
	<th width="10%">状态</th>
	<th width="16%" class="tc">操作</th>
	</tr>
</eq>

	<empty name="orderdata">
	    <tr><td colspan="5" class="tc">暂无数据</td></tr>
	<else />
	    <eq name="type" value="0">
	        <volist name="orderdata" id="vo">
	        <tr>
	             <td><a title="{$vo.goodsname}{$vo.sn}" href="{:U('/Auction/detail/id/'.$vo['aid'])}" target="_blank">{$vo.goodsname}</a><span>{$vo.sn}</span></td>
	             <td>{$vo.realprice}</td>
	             <td>{$vo.goodsfreight}</td>
	             <td>{$vo.ordertime|date='Y-m-d H:i:s',###}</td>
	             <td class="tc"><a id="bid_{$vo.id}" href="javascript:loadOrder({$vo.id});">支付</a></td>
	        </tr>
	        </volist>
	    <else />
	        <volist name="orderdata" id="vo">
	         <tr>
	             <td><a title="{$vo.goodsname}{$vo.sn}" href="{:U('/Auction/detail/id/'.$vo['aid'])}" target="_blank">{$vo.goodsname}</a><span>{$vo.sn}</span></td>
	             <td>{$vo.number}</td>
	             <td>{$vo.orderprice}</td>
	             <td><eq name="vo['state']" value="1">未发货</eq>
	                 <eq name="vo['state']" value="2">已发货</eq>
	                 <eq name="vo['state']" value="3">成交</eq>
	             </td>
	             <td class="tc">
	             	<eq name="vo['state']" value="2"><a href="javascript:clinch({$vo.id});">确认发货</a></eq>
	             </td>
	         </tr>
	        </volist>
	    </eq>
	
	</empty>

</table>


<!-- .pages -->
<div class="pages cb clearfix"> {$page} </div>
<!-- .pages end -->